var utils = require("../util.js")

var ModuleMemberAddress = {};
//独立接口：获取会员地址列表
ModuleMemberAddress.getMemberAddressList = utils.request1("ds", "getMemberAddressList.json", "AddressList")

//独立接口：创建新的会员地址
ModuleMemberAddress.createMemberAddress = utils.request1("ds", "submitOneMemberAddress.json")

//独立接口：修改会员地址
ModuleMemberAddress.updateMemberAddress = utils.request1("ds", "updateOneMemberAddress.json")

//独立接口：删除我的会员地址	
ModuleMemberAddress.deleteMyMemberAddress = utils.request1("ds", "removeOneMemberAddress.json")

//独立接口：设置会员地址为默认
ModuleMemberAddress.setMemberAddressIsDefault = utils.request1("ds", "setMemberAddressIsDefault.json")

//独立接口：获取会员地址详细信息
ModuleMemberAddress.getOneMemberAddressDetail = utils.request1("ds", "getMemberAddressDetail.json")

module.exports = ModuleMemberAddress